package org.cuatrovientos.salute;
import static org.junit.Assert.*;
import org.junit.Test;


/**
 * @author Enrico
 * test class for Salute haha, you got it?
 * you're testing Salute. It's not brilliant
 */
public class SaluteTest {

	@Test
	public void testsaludarMethod() {
		Salute miSaludo = new Salute();

		String expected = "hola";
		String target = miSaludo.saludar(0, 1);
		assertEquals("Testing spanish greet once", expected, target);

		expected = "hellohello";
		target = miSaludo.saludar(1, 2);
		assertEquals("Testing english greet twice", expected, target);

		expected = "kaixokaixokaixokaixo";
		target = miSaludo.saludar(2, 4);
		assertEquals("Testing basque greet four times", expected, target);

	}

}
